package com.zz.parkingsystem.mapper;

import com.zz.parkingsystem.entity.Account;
import com.zz.parkingsystem.vo.AccUserVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
* @author zz
* @description 针对表【t_account(账户表)】的数据库操作Mapper
* @createDate 2022-09-02 14:51:29
* @Entity com.zz.parkingsystem.entity.Account
*/
@Mapper
@Repository
public interface AccountMapper {
    AccUserVO getUserAccMes(Long id);

    int deleteByPrimaryKey(Long id);

    int insert(Account record);

    int insertSelective(Account record);

    Account selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);

    Account selByUserId(Integer userId);

    Account selectByUserId(Integer userId);
}
